package com.wgchao.authmanager.domain.model;

import lombok.Getter;

import java.util.List;

/**
 * @作者：wgchao
 * @时间：20:49 2020/4/28 0028
 * @用途：角色权限
 **/
@Getter
public class RoleAutho extends DomainObject{
    private RoleIdentity roleIdentity;
    private List<AuthoInfo> authoInfos;
    private Operator operator;

    public RoleAutho(RoleIdentity roleIdentity, List<AuthoInfo> authoInfos, Operator operator) {
        this.roleIdentity = roleIdentity;
        this.authoInfos = authoInfos;
        this.operator = operator;
    }

}
